#!/bin/sh
mypath=`dirname "$0"`
mypath="${mypath}/"
echo ${mypath}

netstat -nltup | grep -P ":$1\D"

netstat -nltup | grep -P ":$1\D" | grep -Po "\d+/.+$" | grep -Po "\d+" | xargs -r kill -9
